home *** CD-ROM | disk | FTP | other *** search
/ Univers Interactif 3 / INTERACTIF.BIN / pc / planeten / internet / lpdaemon.sit / lpDaemon ƒ / JM's LPD.config next >
Text File  |  1995-01-24  |  5KB  |  124 lines

  1. #######################################################################################
  2. # Debugging mode may be toggled from the menu, but sometimes we want
  3. # to debug the config so debugging may also be toggled here using
  4. # the DEBUG command.
  5. #
  6. # DEBUG    # turn it on....
  7. #
  8. # The NOACTION flag turns off printing.  Files are still spooled, but not deleted which
  9. # is useful for debugging, particularly of the control file. Note that lpDaemon does not
  10. # translated line-feeds to carriage returns when spooling files, but does recognise the
  11. # end of line when printing so when examining the control file most Mac text editors
  12. # will show the file as on long line with little boxes where the end of line should be.
  13. #
  14. # NOACTION
  15. #
  16. #######################################################################################
  17. # lpDaemon sends e-mail to the owner of files when errors occur, and to an administrator
  18. # when the log file is cleared.  If your setup does not support BSD sendmail uncomment
  19. # the following
  20. #
  21. # NOMAIL
  22. #
  23. #######################################################################################
  24. # If a printer is postscript lpDaemon attempts to query the printer before and after
  25. # printing a file for the number of pages printed.  The differences is recorded
  26. # in the log file.  Uncomment the following to stop that if it causes troubles.
  27. #
  28. # NOACNT
  29. #
  30. #######################################################################################
  31. # lpDaemon looks in the Laser Writer driver file for the PAP resources as well as the
  32. # selected printer.  The default is to look for a file called "LaserWriter" in the
  33. # System Folder under < sys 7 or in the Extensions folder >= 7.  If your laser writer
  34. # driver is called something other than LaserWriter uncomment the following and change
  35. # the name.
  36. #
  37. # LASERWRITER    "LaserWriter"    # the default is LaserWriter
  38. #
  39. #######################################################################################
  40. # RFC1179 tells us that the format for print control file names is :
  41. #                 cfANNNxxxxx
  42. # where NNN is a3 digit job number and xxxxx is the name of the host that is
  43. # printing.  lpDaemon looks for file with the cfA prefix in it's spool folder when
  44. # looking for print jobs.  Unfortunately not all systems seem to follow this convention
  45. # so it may be over written here.
  46. #
  47. # CTLFIL    cfA                # the default is cfA
  48. #
  49. #######################################################################################
  50. # The ADMIN defines an account that will be mailed when the
  51. # log-file is cleared.
  52. #
  53. ADMIN    martin@kirk.luc.ac.be
  54. #
  55. #######################################################################################
  56. # Each PRINTER defines a name by which a printer is known and some
  57. # information about the printer.  If a name contains spaces the
  58. # name string should be quoted with the "
  59. #
  60. # The syntax is :
  61. #    PRINTER  <name1>  PAP|SERIAL  <name2> [baud stop parity bits] [POSTSCRIPT]
  62. # where :
  63. #    <name1>    is the name by which the printer is addressed from the unix host
  64. #                this would be the rn entry in the printcap file
  65. #    PAP|SERIAL defines whether the printer is connected by AppleTalk or
  66. #                a serial connection
  67. #     <name2>    is the NBP name, or the name of the serial driver
  68. #     [baud stop parity bits] is only for SERIAL printers.  Vaild entries :
  69. #                    baud:
  70. #                        300, 600, 1200, 1800, 2400, 3600
  71. #                        4800, 7200, 9600, 19200, 57600
  72. #                    stop:
  73. #                        10: 1 stop bits
  74. #                        15: 1 & half stop bits
  75. #                        20: 2 stop bits
  76. #                    parity:
  77. #                        N: no parity
  78. #                        O: odd parity
  79. #                        E: even parity
  80. #                    bits:
  81. #                        5, 6, 7, 8
  82. #
  83. #     POSTSCRIPT is used only for postscript printers, when used lpDaemon will
  84. #                check for %! as the first two bytes in any file sent to this
  85. #                printer, rejecting any that do not have this, and if ACCOUNTING
  86. #                is enabled will try to get the number of pages printed.
  87. #
  88. # printing to the printer from a unix machine would use the the command :
  89. #
  90. #                lpr -P<name1> files...
  91. #
  92. PRINTER        pslaser            PAP        ""    POSTSCRIPT            # default
  93. PRINTER        lp                PAP        ""    POSTSCRIPT            # default
  94. PRINTER    staflokaal            PAP        "LaserWriter Staflokaal:Laserwriter@AppleTalk"  POSTSCRIPT    #
  95. PRINTER    plantin            PAP        "Plantin:Laserwriter@Ethertalk"  POSTSCRIPT    #
  96. PRINTER    sbgstaf            PAP        "SBG Staf:Laserwriter@1 ste verd. LocalTalk"  POSTSCRIPT    #
  97. #PRINTER        ImageWriter        SERIAL    ".aout"    9600 10 N 8        # modem port
  98. #
  99. #PRINTER    hp4m            SERIAL    ".aout" 9600 10 N 8  POSTSCRIPT
  100. #
  101. #
  102. #######################################################################################
  103. # The following defines the hosts that may print to the daemon.  It may be a name or an
  104. # IP number.  If it is a name it must be one that can be resolved by MacTCP's DNR
  105. #
  106. HOST        kirk.luc.ac.be
  107. HOST        chekov.luc.ac.be
  108. #
  109. #######################################################################################
  110. # lpDaemon will attempt to mail the user who printed the file if any errors
  111. # occur.  Sometimes the mail server is not the same as the source of
  112. # the print job so lpDaemon understands some simple mail aliasing.
  113. #
  114. # The following are used for mail aliases.  If the user is not specified
  115. # it means "any user".  It may only be left out on the destination if it
  116. # was also left out of the source.  In the first example any user at the
  117. # the machine "val" will cause mail to be sent to "vev" at "mips"
  118. #
  119. #ALIAS        @alpha        sysadmin@luc.ac.be
  120. ALIAS        @chekov        @kirk
  121. #ALIAS        @charlie    @alpha
  122. #ALIAS        root@oasis    casper@mips
  123. #
  124.